package com.yt.lxh.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum CouponExpireType {

    DAY(0, "按天数"),
    TIME(1, "按指定时间");

    @EnumValue
    @JsonValue
    private Integer code;

    private String comment;
}
